/** 禁用文章 **/
function forbidden(id, navTabId) {
	alertMsg.confirm("确认禁用文章吗？", {
		okCall : function() {
			$.post(ctx + "/article/forbidden", {
					"id" : id,
					"navTabId" : navTabId
				}, 
				function(json, status) {
					dialogAjaxDone(json);
				}, 
			"json");
		}
	});
}

/** 启用文章 **/
function activation(id, navTabId) {
	alertMsg.confirm("确认启用文章吗？", {
		okCall : function() {
			$.post(ctx + "/article/activation", {
					"id" : id,
					"navTabId" : navTabId
				}, 
				function(json, status) {
					dialogAjaxDone(json);
				}, 
			"json");
		}
	});
}